package cn.wolfcode.trip.base.mapper;

import cn.wolfcode.trip.base.domain.Answer;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface AnswerMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Answer record);

    Answer selectByPrimaryKey(Long id);

    List<Answer> selectAll();

    int updateByPrimaryKey(Answer record);

    List<Answer> selectAnswerContent(@Param("questionId") Long questionId);
}